using System;
using System.Collections.Generic;
using System.Text;
using DotExe.Core.Web;
using DotExe.Core.DataSources;

namespace WebSMSCore
{
    public partial class MainForm : ClientApplication
    {

        public MainForm()
            : base()
        {
            this.Loaded += new System.EventHandler(MainForm_Load);
            this.Started += new System.EventHandler(MainForm_Started);
        }

        //occures after datasources and trigger configuration loads
        protected void MainForm_Load(object sender, EventArgs e)
        {
            InitializeComponent();

            //initialize custom data sources and triggers
        }

        //ocurres on everytime form starts
        protected void MainForm_Started(object sender, EventArgs e)
        {

        }


		protected virtual void btnSearchClick(object sender, EventArgs e)
		{
			
		}

		protected virtual void btnLogoutClick(object sender, EventArgs e)
		{
            this.Hide();
            LoginForm login = new LoginForm();
            login.StartModal();
		}
    }
}

